import request from '@/utils/request'

// 查询库存列表
export function queryStockList(data) {
    return request({
        url: '/system/stock/pdaStockList',
        method: 'post',
        data: data
    })
}
//异常处理
export function CLStockList(data) {
    return request({
        url: '/system/stock/CLStockList',
        method: 'post',
        data: data
    })
}
//移动
export function moveStock(data) {
    return request({
        url: '/system/stock/move',
        method: 'post',
        data: data
    })
}

//入库
export function rkStock(data) {
    return request({
        url: '/system/stock/rkStock',
        method: 'post',
        data: data
    })
}
//立体库返回

export function ltBackTask(data) {
    return request({
        url: '/system/stock/ltBackTask',
        method: 'post',
        data: data
    })
}

//盘点
export function pdStock(data) {
    return request({
        url: '/system/stock/pdStock',
        method: 'post',
        data: data
    })
}
//pda盘点
export function pdacheckStock(data) {
    return request({
        url: '/system/stock/pdacheckStock',
        method: 'post',
        data: data
    })
}

//人工下架
export function rgxjStock(data) {
    return request({
        url: '/system/stock/rgxjStock',
        method: 'post',
        data: data
    })
}
//手动上传任务(呼叫)
export function ManualTask(data) {
    return request({
        url: '/system/ManualTask/addIssued',
        method: 'post',
        data: data
    })
}

//托盘绑定
export function bdPallet(data) {
    return request({
        url: '/system/ManualTask/bdPallet',
        method: 'post',
        data: data
    })
}
//托盘解绑
export function dePallet(data) {
    return request({
        url: '/system/ManualTask/dePallet',
        method: 'post',
        data: data
    })
}

//配送
export function psTask(data) {
    return request({
        url: '/system/ManualTask/psTask',
        method: 'post',
        data: data
    })
}
// 人工上架
export function ManualShelving(data) {
    return request({
        url: '/system/ManualTask/ManualShelving',
        method: 'post',
        data: data
    })
}

// 人工下架
export function ManualDelisting(data) {
    return request({
        url: '/system/ManualTask/ManualDelisting',
        method: 'post',
        data: data
    })
}
//区域选择
export function areaChoose(data) {
    return request({
        url: '/system/inventoryCounting/areaChoose',
        method: 'post',
        data: data
    })
}

//搬运任务
export function carryDelisting(data) {
    return request({
        url: '/system/stock/carry',
        method: 'post',
        data: data
    })
}
//下架

export function xjStock(data) {
    return request({
        url: '/system/stock/xjStock',
        method: 'post',
        data: data
    })
}
//查询和托数据
export function sendLocationData(data) {
    return request({
        url: '/system/stock/sendLocationData',
        method: 'post',
        data: data
    })
}